import { http } from '@/utils/http'

export const getMessageList = (data: any) => {
  return http.get<any>(`/business/message/list`, data)
}

export const getMessageById = (id: any) => {
  return http.get<any>(`/business/message/${id}`)
}

// 真删除
export const doMessageDel = (id: any) => {
  return http.delete<any>(`/business/message/${id}`)
}
